import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import Vant from 'vant';
import { Form, Field, CellGroup } from 'vant';
import { Toast } from 'vant';
import App from './App.vue'
import router from './router'
import { Tabbar, TabbarItem } from 'vant';
import { Swipe, SwipeItem } from 'vant';
import { DatePicker } from 'vant';
import { Search } from 'vant';
import { Divider } from 'vant';
import { Calendar } from 'vant';
import { Area } from 'vant';
import { Image as VanImage } from 'vant';

// 引入全部样式
import 'vant/lib/index.css';


const app = createApp(App)
app.use(Vant);
app.use(createPinia())
app.use(router)
app.use(Form);
app.use(Field);
app.use(CellGroup);
app.use(Toast);
app.use(Tabbar);
app.use(TabbarItem);
app.use(Swipe);
app.use(SwipeItem);
app.use(DatePicker);
app.use(Search);
app.use(Divider);
app.use(Calendar);
app.use(Area);
app.use(VanImage);
app.mount('#app')
